import Vue from 'vue'
import App from './App'
// import store from '@/store/index.js';

Vue.config.productionTip = false

App.mpType = 'app'

// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);


//store
let vuexStore = require('@/store/$u.mixin.js')
Vue.mixin(vuexStore)

import store from '@/store'

const app = new Vue({
	store,
	...App
	
})

//挂载请求
import httpInterceptor from '@/common/http.interceptor.js';
//等vue对象创建完成
Vue.use(httpInterceptor, app)

import httpApi from '@/common/http.api.js';
Vue.use(httpApi, app)

//自定义工具
import utils from '@/common/utils.js';
Vue.use(utils, app)

app.$mount()
